package com.pap.rabbitmq.data;

/**
 * 存储当前使用的哪种 第三方守护进程
 * @Auther: alexgaoyh
 * @Date: 2018/12/3 16:37
 * @Description:
 */
public class CompleteCorrelationData extends org.springframework.amqp.rabbit.support.CorrelationData {

    private String coordinator;

    public CompleteCorrelationData(String id, String coordinator){
        super(id);
        this.coordinator = coordinator;
    }

    public String getCoordinator(){
        return this.coordinator;
    }

    @Override
    public String toString(){
        return "CompleteCorrelationData id=" + getId() +",coordinator" + this.coordinator;
    }
}